﻿namespace h1
{
    public class Math
    {
        public int A { get; set; }
        public int B { get; set; }
        public int GetRectangleArea()
        {
            return A * B;
        }
        public int GetRectangleCircumference()
        {
            return (A + B) * 2;
        }
    }
    internal class Program
    {
        static void Main()
        {

            var math = new Math();
            math.A = 20;
            math.B = 5;
            Console.WriteLine($"RectangleArea is {math.GetRectangleArea()}");
            Console.WriteLine($"RectangleCircumference is {math.GetRectangleCircumference()}");
        }
    }


}
